package com.sams.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.sams.entity.GovSub;
import com.sams.entity.SocietySub;
import com.sams.entity.User;

public interface GovSubService{

	PageInfo<GovSub> listStu(Integer currentPage, String name, String idcard, Integer schid, String subname,
			User user,Integer zid);

	GovSub findById(Integer id);

	void delete(Integer id);

	int add(GovSub sub) throws   Exception;

	void update(GovSub sub)  throws   Exception;

	boolean insertBatch(List<GovSub> stuList)  throws Exception;
	
	public String selectIdCard(String idcard, String project,Integer schid,Integer id);

	void deleteBatch(String ids);
}